package com.jadobo.xswing.model;

import com.jadobo.xswing.attrib.HtmlElementTag;

public class Form extends AElement {
	
	private String action;
	
	public Form(IElement parent, String id, String action) {
		this.setParent(parent);
		this.setId(id);
		this.action = action;
		this.setHtmlElementTag(HtmlElementTag.form);
	}

	/**
	 * @return the action
	 */
	public String getAction() {
		return action;
	}

	/**
	 * @param action the action to set
	 */
	public void setAction(String action) {
		this.action = action;
	}

}
